package com.houkunlin.knife4j;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author HouKunLin
 */

@Data
@ApiModel("分页参数对象")
public class PageableModel {
    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("每页数量")
    private Integer size;
    @ApiModelProperty("按这种格式写：sort=id,asc&sort=name,desc")
    private List<String> sort;
}
